package com.app.model;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CoordModel {
    private Double longitude;//经度
    private Double latitude;//纬度
    public void setCoordModel(Double longitude,Double latitude) {
        this.longitude = longitude;
        this.latitude = latitude;
    }
}
